home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 31
/
Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso
/
Aminet
/
dev
/
gui
/
gtlayout.lha
/
Source
/
LTP_DrawPalette.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-09-09
|
560b
|
26 lines
/*
** GadTools layout toolkit
**
** Copyright © 1993-1998 by Olaf `Olsen' Barthel
** Freely distributable.
**
** :ts=4
*/
#ifndef _GTLAYOUT_GLOBAL_H
#include "gtlayout_global.h"
#endif
#include "Assert.h"
VOID
LTP_DrawPalette(struct LayoutHandle *Handle,struct ObjectNode *Node)
{
struct RastPort *rp = &Handle->RPort;
LTP_SetAPen(rp,Node->Current);
LTP_FillBox(rp,Node->Left + 3,Node->Top + 2,Node->Special.Palette.IndicatorWidth - 6,Node->Height - 4);
LTP_DrawBevel(Handle,Node->Left,Node->Top,Node->Special.Palette.IndicatorWidth,Node->Height);
}